bitkeeper revision 1.1100 (40f77573CvU9GWZuhmX5Moolj6ljnQ)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Fri, 16 Jul 2004 06:28:03 +0000 (06:28 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Fri, 16 Jul 2004 06:28:03 +0000 (06:28 +0000)
xen-clone fix

tools/misc/xen-clone

index 641683874ebda04087cd44d7734dbb1b0adefb72..e434303688a778e32167a0d91cdc843d659633e6 100755 (executable)
@@ -65,7 +65,7 @@ if [ -d ${DEST_BK_REP}/linux-*-xen-sparse ]
 then
  # this is a new style Xen repository so building is dead easy
 
- LINUX_VER=`( /bin/ls -ld ${DEST_BK_REP}/*linux-*-xen-sparse ) 2>/dev/null | sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!'`
+ LINUX_VER=`( /bin/ls -ld ${DEST_BK_REP}/*linux-2.4.*-xen-sparse ) 2>/dev/null | sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!'`
 
  if [ -e ${LINUX_DIR}/linux-${LINUX_VER}.tar.gz ] 
  then